package com.chenxin.transaction.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "seata-2pc-lisi", fallback = FallbackDeal.class)
public interface LisiFeign {

    @RequestMapping("/lisi/transfer")
    String transfer(@RequestParam("amount") Double amount);
}
